'''
面向对象编程
'''
class Person:
    PI = 3.14
    def __init__(self,name,age):
        self.name = name;
        self.age = age;

    def __str__(self):
        return "name:{},age:{}".format(self.name ,self.age)

    def play(self):
        print("正在玩耍")

if __name__ == '__main__':
    zs = Person("张三",18)
    print(zs)